typedef struct Node {

} Node ;

typedef struct Transaction{

} Transaction;

void add_new_trans (Node *list,Node **current,Transaction *trans);
void delete_trans (Node *list,Node **current,Transaction *trans);
void forward (Node *list,Node **current,Transaction *trans);
void backward(Node *list,Node **current,Transaction *trans);
void serach (Node *list,Node **current,Transaction *trans);
void edit (Node *list,Node **current,Transaction *trans);

void (*function[])(Node *list,Node **current,Transaction *trans)={
    add_new_trans,
    delete_trans,
    forward,
    backward,
    serach,
    edit
};

#define N_TRANSACTIONS (sizeof(function) / sizeof(function[0]))
